home *** CD-ROM | disk | FTP | other *** search
- Paul Koning writes:
- > Curious... why couldn't the allocator skip the space taken by libc and
- > continue allocating after whatever place it ends?
-
- Because the allocator asks the kernel for more memory, and the kernel
- just says 'sorry, I've only got 12MB to give you'. The brk man page
- doesn't give much information, but basically the data segment can only
- be extended up until the next object present in the memory map (which
- happens to be the C Library at 12MB).
- _____
- |_____| ------------------------------------------------- ---+---+-
- | | Russell King linux@arm.uk.linux.org --- ---
- | | | | http://www.arm.uk.linux.org/~rmk/armlinux.html / / |
- | +-+-+ --- -+-
- / | THE developer of ARM Linux |+| /|\
- / | | | --- |
- +-+-+ ------------------------------------------------- /\\\ |
-
- unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
-
-